package com.example.carrierapp.ui.main.waybill.arriveno;

import com.example.carrierapp.base.BaseView;
import com.example.carrierapp.bean.RowsBean;
import com.example.carrierapp.viewmodel.itemmodel.ItemWaybillModel;

public interface WaybillArriveNoContract {
    interface Presenter {

        void getWaybillList(int skipCount, String filter);

        void modifyVolume(int id, String carNum, boolean isConfirmed);

        void cancelWaybill(int id);
    }

    interface View extends BaseView {
        void getWaybillListSuccess(RowsBean<ItemWaybillModel> rows);

        void getWaybillListFailde(String msg);

        void modifyVolumeSuccess(String bean);

        void modifyVolumeFailde(String msg);

        void cancelWaybillSuccess(String bean);

        void cancelWaybillFailde(String msg);

    }
}
